Finish chapter.7 exercises.