Returns an integer from minimum to maximum. If minimum is greater than maximum, the values are swapped to return an integer from the lower value to the higher value.