Conceptually correct, now working

As expected, I had to modify the code to work due to the Nodes being
private, but conceptually it was sound. Pointers are kind of magical
beasts, aren't they?