Fleshing out the Rope class, to be tested after the next commit.