Write a quick sort python algorithm, answer only the code.
