Random quick sort use in C++.