.
american roulette algorithm jdnz