so starting at any node, you just follow id equals id of i until they're equal and then you're at a root and that's a private method that we can use to implement the find operation or the connected operation.