Assignment #2 for R Programming

Here is my final submission