/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vreshetnyak;

/**
 *
 * @author Василий
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }
    
}

package vreshetnyak;

/**
 *
 * @author Василий
 */
public class Main {

    private static boolean[] color;
    private static int[][] map;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        byte map[][] = {
            {0, 0, 0, 0, 1, 1},
            {0, 1, 1, 0, 0, 0},
            {0, 1, 0, 1, 0, 0},
            {0, 0, 0, 1, 0, 0},
            {0, 0, 0, 1, 0, 0},
            {0, 0, 1, 1, 0, 0},};
        

    }

}

add Main.java to Task2