Gossip-based Task Allocation