Create memory.py

http://www.codeskulptor.org/#user38_ScJ0FX4SIr_0.py