Returns a random number within set bounds, such that the returned value a is, in relation to the input upper bound b: 0<=a<b
b = One larger than the highest random number this routine may return
a = A random number between 0 and b-1, inclusive.
b = 0
af and bc only