parser for polynomials complete