A very primitive memory allocator