turns text into sequence charts