Update battleship.java