public void DisplayBlock(Block _r, Block _g, Block _b, BufferedImage _buffImage, int _y, int _x)
    {
        for(int i=0;i< Block.N;i++){
            for(int j=0;j<Block.N;j++)
            {
                int pix = (((int)(_r.block[i][j]) & 0xff) << 16) |
                        (((int)_g.block[i][j] & 0xff) << 8) | ((int)_b.block[i][j] & 0xff);
                _buffImage.setRGB(j+_x,i+_y, pix);
            }
        }

    }