public TerminalPattern(string inputString)
 {
     _inputChars = new List <TerminalChar>();
     foreach (char charInput in inputString.ToCharArray())
     {
         TerminalChar inputChar = new TerminalChar(charInput);
         Add(inputChar);
     }
 }
 private void Add(TerminalChar inputChar)
 {
     _inputChars.Add(inputChar);
 }