Cellular Automata in Csharp
Simulate on computer the evolution (at least 20 generations) of an elementary CAthat works according to the rule number specified by the user.
Assume that;
-a grid contains at least 41 cells,
-boundary conditions are periodic (fold the grid),
-initial configuration is random or determined by the user.