Comparing BST

Algorithm to compare two BST