Append function so I can do quicksort