Odd or Even Simulation

Simple state machine detects whether a sequence contains an odd or even number of ‘A’ symbol.