Third Assignment for Coursera Data Science Course