ExpressionTree: rev polish notation for functions