listForm f -- converts a polynomial or monomial to a form represented by nested lists.
A monomial is represented by the list of its exponents.
A polynomial is represented by lists of pairs (m,c), one for each term, where m is a list of exponents for monomial, and c is the coefficient.