uml state chart diagram examples 91 240sx headlight wiring statechart and activity diagrams example