Completed programming assignment.

Additional wrote runExamples() to show that the code works and shows how
to use the code.