Added solution for Exercise 2.3