Modeling Dynamic Systems with Cellular Automata