Update RangeSearch.cpp

add lower_bound and and upper_bound method