Roulette wheel algoithm added.