Cellular automata project written in C++