Ruby Simple Genetic Algorithm