Implementation of Dynamic Memory Allocator for class project