Statistics for Error-Tolerant Coding and the Genetic Code