Complete chapter 5 excercises