BattleShips written in Java