basic structure of binary search tree