Create a random number generator