Fixed typos and formatting in hw1