Global solution to a cubic nonlinear Dirac equation in 1+1 dimensions