searches a binary search tree for a range of values (see my BST and arrayToBST classes for testing)