Update polynomial.h

print_p() is a deprecated function