Quicksort using list comprehensions