Trying to implement a FSA in python 3.9,
As it checks the digits of the input, it should be testing them against the required steps and either moving backwards or for