Added chapter 5 exercise 2