Simulation of the electron cloud in the Fermilab Main Injector