Binary Search Tree class for storing NodeData objects.