Programming Assigment 2 Coursera R Programming