add binary search alogrithm.