Programming Assignment #2

This is my submission for programming assignment #2 for the R
programming course.