Added StateMachine.h and StateMachine.cpp
Merge branch 'master' of github.com:fedyaFade/arduino4EiT