Self-organizing social systems