Completed HW3.