added character with shell of a state machine

not and automata state machine though