Changed the name of the function to RsidueNamesMatch and changed the logic to compare chains according to their idex and not to their name