A Biological Solution to a Fundamental Distributed Computing Problem