This is a homework assignment. (HW2)