quicksort example compiles and now it is time to debug it