R Programming Course Assignment in Coursera