How robots in a large group make decisions as a whole? From biological inspiration to the design of distributed algorithms