Completed some of Chapter 7 exercises