Finish exercises chapter 6