A Tool for creating state diagrams