genetic-algorithm: Updated roulette-wheel selection algorithm.