Finish exercises for chapter 5, except for 4