Implement the first fit allocator