結果 : how to implement binary search in python