Homework for Coursera Data Scientist