R Programming on Coursera, Programming Assignment 1