Merge pull request #8 from lucasmatthieu/master

Bugs correcting
Correcing transitions bugs
Merge branch 'master' of https://github.com/StefanLage/Finite-Automate-API
correcting bugs, adding sample