change function`s name from quicksearch to binarysearch