quicksort in bash