Simulating Complex Systems by Cellular Automata