Completed chp7 exercises.