Quick sort in Ruby, yet another implementation.