get/set methods for bst node