Added polynomial module and tests