real_img function in prde.py

This commit enables us to evaluate real and imaginary parts of multivariate polynomials
Given numerator and denom of a function and the generator, it converts the poly into a dict with the degree of DE.t as the key
and the cofficients(corresponding to the degree of the variable) as the value. Inturn it seperates
the degrees with respect to mod 4