adding isBST() that validates if the tree is actually a BST.