statechart and transition table added
Titles changed, Code implemented
merged