Finish exercises chapter 3