Memory allocator in x86 Assembly (class project, 2012)