Specialization
From WikiManual
For Multicellular Organisms, this is the best aproach for dna creation. Using conditions such as age, any of the inputs or outputs, or pain/pleas, a heirarchy can be established. Ultimately, it may be easier to program a seperate cell to act as the brains, or decider for the group (that is if you want a swarm). A Head Cell could determine what the best direction is based on information sent in by the surrounding cells. Use of specialization is key for a succesful multi-cellular organism.