added python binary search code