There was an error while loading. Please reload this page.
Wikipedia
Finite state machine implementation