Finish the exercises of chpter 5