Game of life realized with C#