Update battleship9.cpp