Exercise_10:completed quick sort