import java.util.*;

public class SpringDroid
{
    public static final int MAX_INSTRUCTIONS = 15;

    public static final String INSTRUCTIONS = "instructions.txt";

    /*
     * Jump if there is a hole on A or on B or on C and there is no hole on D.
     *
     * 'OR A J', //  J = A
     * 'AND B J', // J = A AND B
     * 'AND C J', // J = A AND B AND C
     * 'NOT T J', // J = !A OR !B OR !C
     * 'AND D J', // J = (!A OR !B OR !C) AND D
     * 'WALK'
     */

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

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

                System.exit(0);
            }

            if ("-debug".equals(args[i]))
                debug = true;
        }
    }
}
import java.util.*;

public class SpringDroid
{
    public static final int MAX_INSTRUCTIONS = 15;

    public static final String INSTRUCTIONS = "instructions.txt";

    /*
     * Jump if there is a hole on A or on B or on C and there is no hole on D.
     *
     * 'OR A J', //  J = A
     * 'AND B J', // J = A AND B
     * 'AND C J', // J = A AND B AND C
     * 'NOT T J', // J = !A OR !B OR !C
     * 'AND D J', // J = (!A OR !B OR !C) AND D
     * 'WALK'
     */

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

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

                System.exit(0);
            }

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

        Vector<String> values = IntcodeUtil.readValues(INSTRUCTIONS);
        Intcode computer = new Intcode(values, debug);
    }
}
Update SpringDroid.java