created BST class and IsBST