Synthesis of heterocyclic scaffolds using reagentless techniques