Exercise from Coursera project - Data Science Toolbox