This is part of an assignment for the Data Science Specialisation at Coursera.