Golang implementation of a persistent rope data structure