printList

fun <T : Node> printList(elements: List<T>, separator: String = ", ")
fun <T : Node> printList(prefix: String, elements: List<T>, postfix: String, printEvenIfEmpty: Boolean = false, separator: String = ", ")