Code for second assignment in Coursera's Exploratory Data Analysis course.