Synthesis and studies on possible pharmacologically active hetrocycles and evaluation of their biological activity