Improvement of genetic algorithm with an example.