Assignment submission

R code submitted for Programming Assignment 2