Added chapter 3 exercise 5