SMS#4: LCM (Linear Congruential Method) for random number generation | An example problem