improve sample code
Merge branch 'master' of github.com:salva/p5-Class-StateMachine