Simulation Study on the Convergence Time of a Discrete Consensus Algorithm for Distributed Task Assignment