quicksort in C#, OCaml. and Python