add quicksort for ruby