Update binary search tree to include search and to allow strings as well as intvals