typos
single final state can be set as a string
fixed invalid transition type
normalization hotfix
input testing implemented