Update hw4.Rmd

Fixed typos in Question 8/14 ("purchaces"->"purchases")