Nearly finished part 2, error with quicksort