Using an adaptive gene network model for self-organizing multicellular behavior