quicksort using list comprehensions