simulation martingale roulette fgcd