generating primitive polynomial over GF(2)