Update battleship1.cpp