added split method to spit the string representations of polynomials