A VERSATILE SYNTHESIS OF SUBSTITUTED INDAZOLES