public void quickSort(int[] arr,int left,int right)
    {
        int index = partition(arr,left,right);
        System.out.print("pivot = "+index+" : ");
        for(int i:arr)
            System.out.print(i+"  ");
        System.out.println("\n******************");
        if(left < index - 1) quickSort(arr,left,index-1);
        if(right > index) quickSort(arr,index,right);
    }