Return a random number between [0,n)
randint:long(n:long)
n
Number past upper limit of range, not larger than 2**20.