state diagram
Merge pull request #9 from jkuk/master

Just adding state diagram