Added custom error messages

+local function assert(bBool, sMessage, nLevel)
+assert where it can be used
*changed variables from min, max to nmin, nmax
assert has no function to check for "..."  --Could be changed??