verify_int function

Verify input is single integer (potentially within range)