import java.util.*;

public class Verifier
{
    public static final String EXAMPLE_DATA = "example.txt";

    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    public boolean verify ()
    {
        Vector<Command> cmds = Util.loadCommands(EXAMPLE_DATA, _debug);

        for (int i = 0; i < cmds.size(); i++)
        {
            System.out.println("Loaded:\n"+cmds.elementAt(i));

            cmds.elementAt(i).execute(null);
        }

        return false;
    }

    private boolean _debug;
}
@@ -100,16 +100,222 @@
 .txt%22;%0A%0A
+    public static final long EXAMPLE_ADDRESS_1 = 7;%0A    public static final long EXAMPLE_VALUE_1 = 0;%0A    public static final long EXAMPLE_ADDRESS_2 = 8;%0A    public static final long EXAMPLE_VALUE_2 = 64;%0A%0A
     publ
@@ -342,16 +342,16 @@
  debug)%0A
-
     %7B%0A  
@@ -485,16 +485,51 @@
 _debug);
+%0A        Memory mem = new Memory();
 %0A%0A      
@@ -684,24 +684,449 @@
 ute(
-null);%0A        %7D
+mem);%0A        %7D%0A%0A        if (mem.getValue(EXAMPLE_ADDRESS_1) == EXAMPLE_VALUE_1)%0A        %7B%0A            if (mem.getValue(EXAMPLE_ADDRESS_2) == EXAMPLE_VALUE_2)%0A                return true;%0A            else%0A                System.out.println(%22Wrong value at memory address %22+EXAMPLE_ADDRESS_2+%22: %22+EXAMPLE_VALUE_2);%0A        %7D%0A        else%0A            System.out.println(%22Wrong value at memory address %22+EXAMPLE_ADDRESS_1+%22: %22+EXAMPLE_VALUE_1);
 %0A%0A  

Update Verifier.java