Completed ch 6 exercises