The Memory Coder