Finished exercises of chapter 9