Create pseudorandom number generator