[C++] added quicksort sorting algorithm