added description of this example
added comments on PauseState class
added StateMachine description