Added random number generator ruby code