private void collect(Node node, String string, Queue<String> queue) {
        if (node == null) return;

        if (node.value != null) queue.add(string + node.ch);

        collect(node.left, string, queue);
        collect(node.middle, string + node.ch, queue);
        collect(node.right, string, queue);

    }