Fixed the binary search. I need to redo the recursive search.