Practice in coursera using R language