adding code to get random numbers using gsl