Coursera assignment for the Data Scientist's Toolbox course