An implementation of 2D-Cellular Automaton in swift.