Synthesis characterization and biological studies of some nitrogen and sulphur containing simple and bis-heterocycles