Coursera JHU Data Science R Programming - Programming Assignment 3