Actually put the templates in the headers
Show blocks when printing polynomials
Implement fast shifts