change define_value data structure
add return range value
perfect rangeValue function
remove the test code
Merge pull request #17 from No5stranger/cjp

 add rangeValue function to get a range value