void clearChildNode(TrinaryTreeNode<T> node)
    {
		
        if (middle != null && middle.getValue() == node.value)
        {
            middle = null;
            return;		
        }
        if (left != null && left.getValue() == node.value)
        {
            left = null;
            return;		
        }
        if (right != null && right.getValue() == node.value)
        {
            right = null;
            return;		
        }
		
    }