Quick Sort with Array