Add hierarchical state machine example: pocket calculator
Improved pocket calculator example
Improve pocket calculator example
make iter_sm() restartable
Rework pocket calculator example to use classes