- make polynomial take an iterable
- added powMod(x, y, n) and isProbablyPrime(n)