coursera R programming Peer Assessments - Programming Assignment 2