Added challenge 3: random number generator using LCG