added traversal_paths function for ClusterNode class