Work on the encoding and messed around with objects a bit to support
deep copying. There's now a function that clones a task and modifies its
memory, which will be used to support subgoaling with arguments.

-Peter Mawhorter