forEachIndexed

inline fun forEachIndexed(action: (index: Int, node: Node) -> Unit)