for the second question of coursera data science course project