add amazon online test question 1.
udpate lower_bound implementation.
add upper_bound implementation.