Combinatory Systems and Automata: Simulating Self-Organization and Chaos in Collective Phenomena