solution to Unique Binary Search Trees