School Project in C++