private static void printa(int[][] a, int x) {
        for (int i = 50 - x; i < 50 + x; i++) {
            for (int j = 50 - x; j < 50 + x; j++) {
                System.out.print(a[i][j] + " ");
            }
            System.out.println();
        }
    }
Why Did you create this class? what does it do?
src/adventofcode/SpiralMemory_3.java