Started on exercises for chapter 7