Assignment upload

Completed R Markdown file for the assignment.