add function

add the quick_sort function + tests in main