a java game of battleship