Generate Polynomial with Ternary
GenTernary(n)
n
the order
ternary polynomial of order x^^n with coefficients (-1,0,1)
n = 5 GenTernary(n)