second commit of Assign 2 solution - fix typos