Added memory.py