Coursera R Programming Assignment 2

The solution to the second programming assignment.