added chapter 6 exercises