finished exercises in chapter 5'