Coursera Data Science R Programming course programming assignment 1