R Programming Assignment 2

This is my solution for R Programming Assignment 2