Example for a cellular automata map generator in C++