Update battleship.c