Range Sum of BST

给一个BST和左边界/右边界. 求边界中的node的值的和.