public class Computer
{
    public Computer (boolean debug)
    {
        _accumulator = 0;
        _debug = debug;
    }

    private int _accumulator;
    private boolean _debug;
}
@@ -1,12 +1,33 @@
+import java.util.*;%0A%0A
 public class
@@ -137,16 +137,280 @@
 %0A    %7D%0A%0A
+    public int executeUntilInfiniteLoop (Vector%3COpCode%3E instructions)%0A    %7B%0A        int index = 0;%0A        OpCode op = instructions.elementAt(index);%0A%0A        _accumulator = 0;%0A        %0A        while (!op.visited())%0A        %7B%0A%0A        %7D%0A%0A        return -1;%0A    %7D%0A%0A
     priv

Update Computer.java