public static Set<Edge> getAll(Coordinates c, Ship ship, Ship completelyConnectedShip) {
                Set<Edge> adj = new HashSet<Edge>(ship.nodeMap.get(c).getAdjacent());

                Set<Set<Node>> adjNodeSets = new HashSet<Set<Node>>();

                for (Edge e : adj) {
                        adjNodeSets.add(e.getAdjacent());
                }

                Set<Edge> all = completelyConnectedShip.nodeMap.get(c).getAdjacent();

                for (Edge e : all) {

                        if (!adjNodeSets.contains(e.getAdjacent())) {
                                Iterator<Node> tempNodes = e.getAdjacent().iterator();
                                adj.add(new Edge(null, tempNodes.next(), tempNodes.next()));
                        }

                }

                return adj;
        }