quick sort recursion not working