Finished the exercises for the 8th chapter.