Solution for Unique Binary Search Trees