Update Node.java

added getAll() method, returns arraylist of all identifiers