First try at a memory implementation.
Merge pull request #64 from JacobLeach/memory

First try at a memory implementation.