Numerical solutions of the Allen–Cahn equation with the p-Laplacian