Coursera ProgrammingAssignment 2 For the R programming course