Added more meaningful documentation
Added code to test flat_node_iter()
Fixed but in flat_node_iter()