QuickSort using list comprehensions
QuickSort using partitioning function