Complete chapter 8 exercises