n = Limit(x, low, high)
x. If x is greater than or equal to low
and less than or equal to high, the value of x is returned. If x
is less than low, then low is returned. If x is greater than high,
then high is returned.
This function ensures that the value of x stays in the boundaries defined
by low and high.