fix quicksort and add a sample in interpreter