the solution for the problem of UniqueBinarySearchTree