Second assignment for the UW c++ online course.