Cellular automata engine for solid state physics