Coursework Submission

.R file to be submitted as coursework has been updated