A cellular automaton simulator