.
american roulette algorithm iifj