Update battleship2.cpp