add comments for sol
add method to determine if one obj is a polynomial