Solve Exercise 3.12
Add Scalaz library