Homework assignment for  The Data Scientist's Toolbox on Coursera