.
american roulette algorithm gjft