Example and exercise. A FSM with pointers

Dependencies:   mbed