modified homework.txt to answer questions for chapter 2