a project we did at our university in C++