Synthesis of Some Thioxopyrimidines (IV), Thiazolopyrimidines (VII), Thiazolodipyrimidines (IX) and Pyrazolothiazolopyrimidines (X).