modified the isInteger method
changed the isInteger Method
idk
added str in ispolynomial