private static void Adjust(Node[] data, int idx){
		 while(idx != 0){
			 if(idx % 2 == 1){
				 if(data[idx].data < data[idx + 1].data){
					 data[(idx - 1)/2] = data[idx];
				 }else {
					 data[(idx-1)/2] = data[idx + 1];
				 }
				 idx = (idx - 1)/2;
			 }
			 else {
				 if(data[idx-1].data < data[idx].data){
					 data[idx/2 - 1] = data[idx-1];
				 }else {
					 data[idx/2 - 1] = data[idx];  
				 }
				 idx = (idx/2 - 1);
			 }
		 }
		
	}