Finish exercises chapter 7