Basic Genetic Algorithm example in C#