Implemented Quick Sort with ruby