Implementation of Mersenne Twister (PRNG) in Python