Coursera R Programming Assignment2