add the quick sort algorithm in c++