A clone of Battleship in Java