Modeling Chemical Systems using Cellular Automata