Program to calculate hermite polynomials