use catalan number to solve Unique binary search tree