cleaning up the Rmd file and linking to the code files on github