Fixed toString method in polynomials.
Modified MathUtil.getInverseModP to work correctly with negative numbers.
Implemented first version of a greatest common divisor calculator for polynomials. Testing it is a bit tricky because the greatest common divisor is unique only up to an invertible constant.