Adding code to determine if a binary tree is a BST.