Synthesis and pharmacological investigation of some novel heterocyclic compounds and aryl alkanoic acid derivatives