add quick sort partition

add quick sort partition