add binary search and quicksort