Synthesis and functionalization of Nitrogen heterocycles and Pharmaceuticals utilizing a-Oxo Carboxylic Acids