added chapter 4 exercises