Python operational transformation (OT) algorithm & sandbox