The spectral analysis and study of GRB 120709A, a burst with three distinct emission episodes