.
american roulette algorithm qilp