private void maxHeapify(int pos){
		if(!isLeaf(pos)){
			if(myHeap[pos].compare(myHeap[this.leftChild(pos)]) == -1 || myHeap[pos].compare( myHeap[this.rightChild(pos)]) == -1){
				if(myHeap[this.leftChild(pos)].compare(myHeap[this.rightChild(pos)]) == 1){
					swap(pos, this.leftChild(pos));
					maxHeapify(this.leftChild(pos));
				}else{
					swap(pos,this.rightChild(pos));
					maxHeapify(this.rightChild(pos));
				}
			}
		}
	}