Final commit for assignment

Re-ran to ensure sync of plot1.png, added comments to R files.