FIxed mistakes in the homework.