Bio-inspired Machine Learning: programmed death and replication