import java.util.Vector;

public class Verifier
{
    private static final String EXAMPLE1_FILE = "example1.txt";
    private static final int EXAMPLE1_STEPS = 8;
    private static final String EXAMPLE2_FILE = "example2.txt";
    private static final int EXAMPLE2_STEPS = 86;
    private static final String EXAMPLE3_FILE = "example3.txt";
    private static final int EXAMPLE3_STEPS = 132;
    private static final String EXAMPLE4_FILE = "example4.txt";
    private static final int EXAMPLE4_STEPS = 136;
    private static final String EXAMPLE5_FILE = "example5.txt";
    private static final int EXAMPLE5_STEPS = 81;

    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    public boolean verify ()
    {
        Vector<String> input = Util.readMap(EXAMPLE1_FILE);
        Map theMap = new Map(input, _debug);

        System.out.println(theMap);

        Node start = theMap.getStartingNode();

        System.out.println("Starting point in graph: "+start);
        
        Explorer exp = new Explorer(theMap, _debug);

        System.out.println("Number of keys and doors: "+theMap.numberOfKeys()+", "+theMap.numberOfDoors());

        System.out.println("\nTraversing map ...");
        
        exp.moveAroundMap();

        return false;
    }

    private boolean _debug;
}
@@ -1236,24 +1236,543 @@
 oundMap();%0A%0A
+        System.out.println(%22%5Cn%22);%0A%0A        input = Util.readMap(EXAMPLE2_FILE);%0A        theMap = new Map(input, _debug);%0A%0A        System.out.println(theMap);%0A%0A        start = theMap.getStartingNode();%0A%0A        System.out.println(%22Starting point in graph: %22+start);%0A        %0A        exp = new Explorer(theMap, _debug);%0A%0A        System.out.println(%22Number of keys and doors: %22+theMap.numberOfKeys()+%22, %22+theMap.numberOfDoors());%0A%0A        System.out.println(%22%5CnTraversing map ...%22);%0A        %0A        exp.moveAroundMap();%0A%0A
         retu

Update Verifier.java