Do exercises for chapter 5