Synthesis of some pyrazolopyrimidines as purine analogues