Running time analysis of Quick sort