.
american roulette algorithm teoj