Created memory.js - a hardware simulation of main memory.