Updated Homework 3