Lightweight, decorator-based Python implementation of a Finite State Machine - alysivji/finite-state-machine