Completed peer assessment 1

Knitr .Rmd file created with embedded R code, documentation and diagrams