Synthesis of Nitrogen-Containing and Nitrogen-Substituted Aromatic Compounds for Diverse Applications