Implementation of ropes in go