Java Binary Search Tree Importance Value