Programming Assignment 2 of the Exploratory Data Analysis course on Coursera.