Update Quicksort using linked list