private static void printNode(Node root) {
        while (root != null) {
            System.out.print(root.value + " ");
            root = root.next;
        }
        System.out.println();
    }
Why Did you create this class? what does it do?
src/adventofcode/Spinlock_17.java