This is task 2 of the projects for my data science course on Coursera