Cellular-automaton approach to a surface reaction.