Complete chapter 3 excercises