Improved the FSM example to demonstrate how to use class and state functions.
Improved the FSM example to demonstrate how to use class and state functions.

1. Added additional state to allow cycling through additional colors.
2. Using a class to capture the statement and pin binding.
3. Allow multiple instances of the state machine RGB led with only a single
extra line of code. Demonstrates how complex structures can be built.

rrobinet/Cosa,dansut/Cosa,mikaelpatel/Cosa,kc9jud/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,kc9jud/Cosa,dansut/Cosa,jeditekunum/Cosa,SinishaDjukic/Meshwork,jeditekunum/Cosa,rrobinet/Cosa,kc9jud/Cosa,kc9jud/Cosa,rrobinet/Cosa,rrobinet/Cosa,mikaelpatel/Cosa,SinishaDjukic/Meshwork,dansut/Cosa,jeditekunum/Cosa,dansut/Cosa,SinishaDjukic/Meshwork,SinishaDjukic/Meshwork,mikaelpatel/Cosa