added basic methods for BST