public Matice(int rozmer_x, int rozmer_y) {
        matice= new double[rozmer_x][rozmer_y];
        for (int i = 0; i <rozmer_x; i++) {
            for (int j = 0; j < rozmer_y; j++) {
                matice[i][j]=0;
            }
            
        }
    }