Algorithm Implementation/Pseudorandom Numbers/Linear congruential generator