Studies on multicomponent reaction: an approach to expedite synthesis of nitrogen heterocyclic compounds