A couple of old quicksort implementations in Python and C++