add quicksort in ruby