Update allocator.c

futher edits