Homework from coursera Data Science course.