Update node.java

completed deleteDuplicatesNoBuffer