Finish excercises for chapter 5