Added implementation for Quick Sort