Metal catalyzed carbon carbon and carbon heteroatom bond formation synthesis of biologically active heterocyclic compounds