Add random, implementing an LCG.