private static void print(boolean[][] fill) {
        for (int i = 0; i < X; i++) {
            StringBuilder x = new StringBuilder();

            for (int j = 0; j < Y; j++) {
                if (fill[i][j]) {
                    x.append("T");
                } else {
                    x.append(".");
                }
            }
            System.out.println(x.toString());
        }
    }