Solved Exercise 2.2
Solved Exercise 2.5(a)