S3C5: implement the MT19937 Mersenne Twister RNG.