Update Node.java

this was class code