.
american roulette algorithm qfor