add two binary search problems from leetcode

Signed-off-by: Wei Jin <wjin.cn@gmail.com>