Synthesis and Biological Evaluation of Some Heterocyclic Compounds