Fixed binary search.
Corrected quick sort.