MPivotQuicksort works

Small changes to mpivotquicksort make it work now.