Created a quasi-random number generator