Initial Check-in for Programming Assignment #2

The functions follows the same format as the example cited in the
homework instructions.