allvars function

All variables in a multivariate polynomial