import java.util.*;

public class Verifier
{
    public static final String EXAMPLE1_FILE = "example1.txt";
    public static final long TOTAL_FUEL_1 = 82892753L;
    public static final String EXAMPLE2_FILE = "example2.txt";
    public static final long TOTAL_FUEL_2 = 5586022L;
    public static final String EXAMPLE3_FILE = "example3.txt";
    public static final long TOTAL_FUEL_3 = 460664L;

    public Verifier (boolean debug)
    {
        _debug = debug;
        _theParser = new Parser(debug);
    }

    public final boolean verify ()
    {
        Vector<Reaction> reactions = _theParser.loadData(EXAMPLE3_FILE);
        NanoRefinery factory = new NanoRefinery(reactions, _debug);
        boolean verified = false;
        long totalOre = 1000000000000L;
        long fuelCreated = factory.createMaxFuelFromOre(totalOre);

        if (fuelCreated == TOTAL_FUEL_3)
        {
            return true;
            /*
            reactions = _theParser.loadData(EXAMPLE2_FILE);
            factory = new NanoRefinery(reactions, _debug);

            fuelCreated = factory.createMaxFuelFromOre(totalOre);

            if (fuelCreated == TOTAL_FUEL_2)
                verified = true;
            else
                System.out.println("Failed on "+EXAMPLE2_FILE+" with "+fuelCreated);*/
        }
        else
            System.out.println("Failed on "+EXAMPLE1_FILE+" with "+fuelCreated);

        return verified;
    }

    private boolean _debug;
    private Parser _theParser;
}
@@ -604,25 +604,25 @@
 Data(EXAMPLE
-3
+1
 _FILE);%0A    
@@ -865,17 +865,17 @@
 AL_FUEL_
-3
+1
 )%0A      
@@ -894,35 +894,83 @@
     
-return true;%0A            /*
+if (_debug)%0A                System.out.println(%22Verified %22+EXAMPLE1_FILE);%0A
 %0A   
@@ -1214,28 +1214,654 @@
     
-    verified = true;
+%7B%0A                if (_debug)%0A                    System.out.println(%22Verified %22+EXAMPLE2_FILE);%0A%0A                reactions = _theParser.loadData(EXAMPLE3_FILE);%0A                factory = new NanoRefinery(reactions, _debug);%0A%0A                fuelCreated = factory.createMaxFuelFromOre(totalOre);%0A%0A                if (fuelCreated == TOTAL_FUEL_3)%0A                %7B%0A                    if (_debug)%0A                        System.out.println(%22Verified %22+EXAMPLE3_FILE);%0A%0A                    verified = true;%0A                %7D%0A                else%0A                    System.out.println(%22Failed on %22+EXAMPLE3_FILE+%22 with %22+fuelCreated);%0A            %7D
 %0A   
@@ -1962,10 +1962,8 @@
 ed);
-*/
 %0A   

Update Verifier.java