ruby randomization script