Comleted Chapter 7 exercises