Added Some Chapter 7 Code