Implemented normalization of polynomial (e.g.: x + x + x => 3*x)