Programming Assignment 2

Finished programming assignment 2 functions.  Added usage examples to
comments.