A simple, generic, header-only state machine implementation for C++.