Finished exercises of chapter 2