Assignment 4 of the UW online C++ class