Networks result from cooperation