import java.io.*;

public class ACS
{
    public static void main (String[] args)
    {
        boolean debug = false;
        int defaultInput = 5;
        boolean runVerifier = false;

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

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

            if ("-input".equals(args[i]))
                defaultInput = Integer.parseInt(args[i+1]);

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

        /*
         * Create the computer which will do the real work.
         */

        _theComputer = new Intcode(debug);

        if (runVerifier)
        {
            Verifier theVerifier = new Verifier(_theComputer, debug);

            theVerifier.verify();
            System.exit(0);
        }

        /*
         * Open the data file and read it in.
         */

        BufferedReader reader = null;
        String[] values = null;

        try
        {
            reader = new BufferedReader(new FileReader(DATA_FILE));
            String line = null;

            while ((line = reader.readLine()) != null)
            {
                values = line.split(Intcode.DELIMITER);
            }

            String str = _theComputer.parseAndExecute(values, defaultInput);

            System.out.println("Got back "+str);
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }
    }

    private static Intcode _theComputer = null;

    private static final String DATA_FILE = "instructions.txt";
}
@@ -31,16 +31,70 @@
 s ACS%0A%7B%0A
+    public static final int NUMBER_OF_AMPLIFIERS = 5;%0A
     publ
@@ -752,136 +752,8 @@
  %7D%0A%0A
-        /*%0A         * Create the computer which will do the real work.%0A         */%0A%0A        _theComputer = new Intcode(debug);%0A%0A
     
@@ -1735,57 +1735,8 @@
  %7D%0A%0A
-    private static Intcode _theComputer = null;%0A%0A
     

Update ACS.java