Complete HW2.2