Basic Cellular Automata Generator in WPF/C#