import java.util.*;

public class Verifier
{
    public static final String EXAMPLE1_FILE = "example1.txt";
    public static final int TOTAL_ORE_1 = 13312;
    public static final long TOTAL_FUEL_1 = 82892753L;
    public static final String EXAMPLE2_FILE = "example2.txt";
    public static final int TOTAL_ORE_2 = 180697;
    public static final long TOTAL_FUEL_2 = 5586022L;
    public static final String EXAMPLE3_FILE = "example3.txt";
    public static final int TOTAL_ORE_3 = 2210736;
    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(EXAMPLE1_FILE);
        NanoRefinery factory = new NanoRefinery(reactions, _debug);
        boolean verified = false;
        long totalOre = 1000000000000L;
        long fuelCreated = factory.createMaxFuelFromOre(totalOre);

        if (fuelCreated== TOTAL_FUEL_1)
        {
            verified = true;
        }
        else
            System.out.println("Failed on "+EXAMPLE1_FILE+" with "+fuelCreated);

        return verified;
    }

    private boolean _debug;
    private Parser _theParser;
}
@@ -105,57 +105,8 @@
 t%22;%0A
-    public static final int TOTAL_ORE_1 = 13312;%0A
     
@@ -223,58 +223,8 @@
 t%22;%0A
-    public static final int TOTAL_ORE_2 = 180697;%0A
     
@@ -340,59 +340,8 @@
 t%22;%0A
-    public static final int TOTAL_ORE_3 = 2210736;%0A
     
@@ -604,25 +604,25 @@
 Data(EXAMPLE
-1
+2
 _FILE);%0A    
@@ -850,16 +850,17 @@
 lCreated
+ 
 == TOTAL
@@ -865,17 +865,17 @@
 AL_FUEL_
-1
+2
 )%0A      
@@ -894,24 +894,404 @@
     
-verified = true;
+return true;%0A            /*%0A            reactions = _theParser.loadData(EXAMPLE2_FILE);%0A            factory = new NanoRefinery(reactions, _debug);%0A%0A            fuelCreated = factory.createMaxFuelFromOre(totalOre);%0A%0A            if (fuelCreated == TOTAL_FUEL_2)%0A                verified = true;%0A            else%0A                System.out.println(%22Failed on %22+EXAMPLE2_FILE+%22 with %22+fuelCreated);*/
 %0A   

Update Verifier.java