add init solution for validate bst.