Added middle-square method PRNG for generating test data.