Algorithm step one Gambling