implemented toString for expressions