project of battleship in java