function out = randint(a,b,number) % generates integers taken from the discrete uniform distribution % defined on the interval a to b, a