fixed UserProcess and MemoryAllocator to finish steps 4 and 5