import java.util.*;

public class Command
{
    public static final String MASK = "mask";
    public static final String MEM = "mem";

    public Command (String mask, Vector<String> cmds)
    {
        _mask = mask;
        _commands = cmds;
    }

    @Override
    public String toString ()
    {
        String str = _mask;

        for (int i = 0; i < _commands.size(); i++)
        {
            str += "\n" + _commands.elementAt(i);
        }

        return str;
    }

    private String _mask;
    private Vector<String> _commands;
}
@@ -239,24 +239,99 @@
 mds;%0A    %7D%0A%0A
+    public void execute (HashMap%3CLong, Long%3E memory)%0A    %7B%0A        %0A    %7D%0A%0A
     @Overrid

Update Command.java