Completed HW #3.