Synthesis and reactions of new types of fused ring heterocycles containing oxygen nitrogen and sulphur atoms