Impliment Genetic Algorithm using java