solve unique binary search trees