def handleOperator(token, nodeStack, root):
    """Set root value, then create & move to right subtree."""
    root.setRootVal(token)
    root.insertRight('')
    nodeStack.push(root)
    return root.getRightChild()