Add exercises for chapter 4