Completed HW 3.