Update Battleships.java