The randrange function