added a simple arena allocator for use with cords