changed transitions from ((State, Char), State) to (State, Char, State)