added exercises on chapter 3