added simple util to write sequence diagrams