This is for the second programming assignment for the Coursera course R Programming