Finished ch.7 exercises