import java.io.*;

public class ACS
{
    public static final int NUMBER_OF_AMPLIFIERS = 5;
    public static final String DIGITS = "01234";
    public static void main (String[] args)
    {
        boolean debug = false;
        boolean runVerifier = false;

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

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

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

        if (runVerifier)
        {
            Verifier theVerifier = new Verifier(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);
            }
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }
    }

    // because ... https://introcs.cs.princeton.edu/java/23recursion/Permutations.java.html

    private static void permutation (String str)
    { 
		permutation("", str); 
	}
	
    private static void permutation (String prefix, String str)
    {
        int n = str.length();
        
        if (n == 0)
            System.out.println(prefix);
        else
        {
			for (int i = 0; i < n; i++)
				permutation(prefix + str.charAt(i), str.substring(0, i) + str.substring(i+1, n));
		}
    }
    
    private static final String DATA_FILE = "instructions.txt";
}
@@ -639,32 +639,93 @@
 rue;%0A        %7D%0A%0A
+        Vector%3CString%3E permutations = new Vector%3CString%3E();%0A%0A
         if (runV

Update ACS.java