private Move closeOffRoom(Info info) {
                // close any open doors
                Node location = info.location;
                for (Edge e : location.getAdjacent()) {
                        if (e.getEdgeState() == EdgeState.OPEN) {
                                return new Move(e, false, true);
                        }
                }
                // visit rooms on other side of burned edges
                for (Edge e : location.getAdjacent()) {
                        if (e.getEdgeState() == EdgeState.BURNED) {
                                if (!path.contains(e) && !movingBack.contains(e)) {
                                        path.addFirst(e);
                                        return new Move(e, true, false);
                                }

                        }
                }

                Edge moving = path.removeFirst();
                movingBack.add(moving);
                return new Move(moving, true, false);

        }