My Shitty C++ assignment