Synthesis and biological screening of some novel nitrogen and/or sulphur containing hetrocyclic compounds