A Memory Manager in C++