memory manager work

I need to figure out how to work the heap given in such a way to make a
stack allocator. Or a pool allocator, either will do at this point.