Simple node traversal example