Changed the main method for tests
A little bit on polynomials