Node getChildren function