Re-wrote processing of Is to imitate pattern used for Xs
Corrected spelling error
Extracted  method substituteRepeatingSymbolsForValues