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;
}
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(EXAMPLE1_FILE);
        NanoRefinery factory = new NanoRefinery(reactions, _debug);
        boolean verified = false;
        long totalOre = 1000000000000L;
        long fuelCreated = factory.createMaxFuelFromOre(totalOre);

        if (fuelCreated == TOTAL_FUEL_1)
        {
            if (_debug)
                System.out.println("Verified "+EXAMPLE1_FILE);

            reactions = _theParser.loadData(EXAMPLE2_FILE);
            factory = new NanoRefinery(reactions, _debug);

            fuelCreated = factory.createMaxFuelFromOre(totalOre);

            if (fuelCreated == TOTAL_FUEL_2)
            {
                if (_debug)
                    System.out.println("Verified "+EXAMPLE2_FILE);

                reactions = _theParser.loadData(EXAMPLE3_FILE);
                factory = new NanoRefinery(reactions, _debug);

                fuelCreated = factory.createMaxFuelFromOre(totalOre);

                if (fuelCreated == TOTAL_FUEL_3)
                {
                    if (_debug)
                        System.out.println("Verified "+EXAMPLE3_FILE);

                    verified = true;
                }
                else
                    System.out.println("Failed on "+EXAMPLE3_FILE+" with "+fuelCreated);
            }
            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;
}
Update Verifier.java