added quick_sort impl