added two exercises for chapter 3