Towards a Mathematical Foundation of Immunology and Amino Acid Chains