Update Node.java

I didn't test this at all because I edited it in-browser. You should test it yourself.