ruby random data generator based on probability