Origins of Life In A Mathematical Model