Genetic Algorithm implemented completely