fix typos/formatting in hw4