evalPolynom function in Base.hs