R programs for coursera