.
american roulette algorithm qalg