@SuppressWarnings("unused")
		public BinaryNode getSuccessor() 
		{			
			if(hasChildren()){
				if(getLeft() == null && getRight() != null)
					return getRight();
				else if(getLeft() != null && getRight() == null)
					return getLeft();
				else // the two children case
					return getRight().getLeftmostNode();
			}

			return null;
		}