Console version of the Battleship - C++