added pretty print support for NewFunctionExp