def add_state(self):
        """This function adds a new state"""
        sid = len(self.states)
        self.states.append(SFAState(sid))
def add_state ( self ) : sid = len ( self . states ) self . states . append ( SFAState ( sid ) )
This function adds a new state