checkIfLevelInBounds

fun checkIfLevelInBounds(levelVal: Int)

Checks if given level value is within the allowed bounds else it raises an Exception.