An implemetation of Hierarchical State Machine in golang.