edited quicksort. Still shows segmentation fault