Added a way to generate random Integers (hopefully uniformly).