Dynamic Task Allocation for Crowdsourcing Settings