finished ch 3 exercises