Programming Assignment for Coursera R programming course