adding homework for chapter 3