Finished last two exercises of the chapter