updated .rmd for the assignment