genetic algorithm for optimization example