Implement a Simulated Memory Allocator | OpenAI