private static boolean[][] getFillArray() {
        boolean[][] fill = new boolean[X][Y];
        Rectangle[] rectangles = {
                new Rectangle(10, 10, 50, 50),
                new Rectangle(10, 20, 30, 40)
        };
        for (Rectangle rectangle : rectangles) {
            for (int i = rectangle.mTop; i <= rectangle.mBottom; i++) {
                fill[i][rectangle.mLeft] = true;
                fill[i][rectangle.mRight] = true;
            }
            for (int i = rectangle.mLeft; i <= rectangle.mRight; i++) {
                fill[rectangle.mTop][i] = true;
                fill[rectangle.mBottom][i] = true;
            }
        }
        return fill;
    }