Cellular automata in Dart