Realtime C++ cellular life simulation