added chapter 8 exercises