Preparation of N, O and S-Contaninig heterocycles and their transition metal complexes evaluation of their biological activity