Cellular automata for modeling diamond growth