Added +1 to the randint parameter since the highes value is excluded by
the function (interval open in that direction)