Chemical polymerization of 3-methylpyrrole-4-carboxylic acid