Formatting+ traverse(Node n, ArrayList<Node> list)