List comprehensions not working for quicksort; removed them