.
american roulette algorithm thdl