C++ - collaborated between 4 students