Homework from my Advance C++ class.