quick sort by python