Add is balanced bst problem