Studies in Synthesis and Biological Activity of Heterocyclic Compounds Containing Nitrogen Oxygen and Sulphur Atoms