Fixed minor typos

Nothing major, but came across them while completing the homework.