Coursera R Progamming Assignment 1