Studies on the syntheses of nirtogen sulphur and oxygen heterocycles possessing bactericidal activities