Nitrogen-containing heterocycles via palladium-catalyzed reactions of alkynes with organic halides or triflates