import java.util.*;

public class FuelCalculator
{
    public static final String DATA_FILE = "reactions.txt";
    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);
        }

        Parser theParser = new Parser(debug);
        Vector<Reaction> reactions = theParser.loadData(DATA_FILE);
        NanoRefinery factory = new NanoRefinery(reactions, debug);
        long oreNeeded = factory.oreNeeded();

        System.out.println("Ore needed to create 1 fuel: "+oreNeeded);

        long totalOre = 1000000000000L;

        // try a quick division
    }
}
@@ -1091,23 +1091,65 @@
    long 
-oreNeed
+totalOre = 1000000000000L;%0A        long fuelCreat
 ed = fac
@@ -1157,18 +1157,37 @@
 ory.
-oreNeeded(
+createMaxFuelFromOre(totalOre
 );%0A%0A
@@ -1218,124 +1218,63 @@
 ln(%22
-Ore needed to create 1 fuel: %22+oreNeeded);%0A%0A        long totalOre = 1000000000000L;%0A%0A        // try a quick division
+Maximum fuel created from %22+totalOre+%22: %22+fuelCreated);
 %0A   

Update FuelCalculator.java