Simple simulator of protons, neutrons and electrons