Fixed quicksort in sorting.cpp