The code calculates the molecular weight of amino acid sequences, however I did not subtrackt the mass of water molecules released by peptide bonds.