Adding chapter 8 programming project 2