nice way to say why electrons can't be in nucleaus comes from hesienbergs(officer I don't know how fast I was going but I know excatly where I am) uncertainty principle. to say that an electron is found within the confines of a nucleaus puts a very low value on the error in it's position, as the uncertainty principle states dP x dQ must alkwasys be more than a constatn the uncertainty in momentum(p where q is position) must increase. putting in the numbers one finds that for an electron trapped in a nucleus the momentum is so high it would immediately just go flying out. protons and neutrons with higher masses also have high momentums in the nnucleaus but their higher masses mean that their speed is not as high so they can stay in the nucleaus.