Coursera R-Programming, Week 3, Programming Assignment2, November 23, 2014