Chapter 7 Programming Assingment for CSC 2134