homework assignment for the Coursera Class The Data Scientist Toolbox