My exercise for the Data Science course on coursera.