Set up for binary search tree.