Create character matching conditional
Conditional - check state of counter variable against expected state