A custom memory manager implemented for C