finsihed quicksort via vectors in cpp