Help the extendedEuclideanAlgorithm deal with unusual types.
Add one more set of tests for polynomials over modular integers
Add isIrreducible for polynomials. Remove extraneous newline.