Synthesis and characterization of biologically potent novel heterocycles via C - N and C - C coupling