Basic Cellular Automata in C#/WPF