algorithm pratice to quick_sort