Programming Assignment 2 check-in

Check-in of programming assignment 2 with required code and
documentation.  Additionally, I have added test cases that are commented
out.  Simply load the file into rgui, uncomment the test cases, and run
from the rgui console.