Correction on HW #2

Corrected some typos or misunderstanding.