Completed Chapter 7: Exercises 7 and 8