implement quick sort
add new code