We need to check whether the state referenced in start_state in present in the states array, and each of the states of the final_states but also be present in states array. Right now no such checking is done, which could lead to major bugs and issues.
We need to check whether the state referenced in
start_statein present in thestatesarray, and each of the states of thefinal_statesbut also be present instatesarray. Right now no such checking is done, which could lead to major bugs and issues.