The mathematical structure of the genetic code: a tool for inquiring on the origin of life