A cellular automata simulation engine