Testing the period of my random number generator.