implemented toString for expressions and operators