A demo program of Genetic Algorithm.