This is the file in R for the assignment 2 of Coursera R programming