Start work on Memory.hs.

I don't know what I'm doing.