Solution for Exercise 2.2, Nielsen-Chaung, Quantum Computation and Quantum Information