Modified hw3.Rmd