added state_machine.md