Genetic algorithm and genetic programming system