An C++ implementation of battleship for a school project (this will be the server)