Added code for BST and PrefixExpressionTree