Pure Perl version of the Math::Random::MT module to generate random numbers using the Mersenne-Twister algorithm