Simulation of the electron acoustic instability in the polar cusp