Working on Genetic Algorithm