Small Quicksort Algorithm in Swift