Added all instructions and created a memory space.