Define ranges and test if number is in range
