public class FuelCalculator
{
    public static final void main (String[] args)
    {
        boolean debug = false;
        boolean verify = false;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-help] [-debug] [-verify]");
                System.exit(0);
            }

            if ("-debug".equals(args[i]))
                debug = true;

            if ("-verify".equals(args[i]))
                verify = true;
        }

        if (verify)
        {
            Verifier v = new Verifier(debug);

            if (v.verify())
                System.out.println("Verified ok!");
            else
                System.out.println("Verify failed!");
                
            System.exit(0);
        }
    }
}
@@ -23,16 +23,76 @@
 lator%0A%7B%0A
+    public static final String DATA_FILE = %22reactions.txt%22;%0A
     publ
@@ -874,16 +874,315 @@
        %7D
+%0A%0A        Parser theParser = new Parser(debug);%0A        Vector%3CReaction%3E reactions = theParser.loadData(DATA_FILE);%0A        NanoRefinery factory = new NanoRefinery(reactions, debug);%0A        int oreNeeded = factory.oreNeeded();%0A%0A        System.out.println(%22Ore needed to create 1 fuel: %22+oreNeeded);
 %0A    %7D%0A%7D

Update FuelCalculator.java