Y-formalism in Pure Spinor Quantization of Superstrings