Finished ch 6 exercises