validate BST by in order traversal