Statistical Physics of Evolving Self-Replicators and Ring Neural Networks