Some chapter 8 exercises