C++ Final Exam Project