Studies on the synthesis of nitrogen sulphur and oxygen heterocycles processing bactericidal activities