makeLimit
fun Int.makeLimit(min: Int = 0, max: Int = 0): Int
Adjust the given number so that it does not go out of range with given min, max