An exercise of coursera data science course