fixed second quick_sort
not getting the right answers with code that should be working