new MealyMachine.simulate arg: current_state, demo in robot_gr1
bugfix: MealyMachine.simulate checked selected state with if not state to stop simulation, which fails when selecting state 0. Replaced by is None.