Neural net classification of proton- and heavy nucleus-induced cosmic ray families