huffman quicksort