Program seems to be working now.  Will add comments before submitting
for grading.