added BST mirror algorithm