Read an interesting article in National Geographic about
swarm theory. A colony of 500,000 odd ants can find the shortest path to the best food source, send the appropriate number of ants out to gather food depending on its availability, allocate themselves different tasks as required by the colony, build elaborate nests, defend the colony against predators,
and all without one boss or manager telling them what to do....