Some binary tree methods to support the unscramble progam's sparsefile