Completed check for Validity of BST