Initial commit for chapter 7 exercise.