py heap, fixed variable names in c++
quicksort