Add Rmd file for session 6 R functions