Create randomGenerator