Switch statement in State class implemented.
Merge branch 'master' of github.com:gunnarjv/ai1