Ch4 Programming Exercises