Programming assignment 2 - R Programming (Data Science)