.
roulette online algorithm xmxn