Refactor expression string methods into Polynomial and Monomial to_string method