http://sheikhrouhani.net/auto-roulette-algorithm/
Auto Roulette Algorithm