
    [x,map] = imread('Cave.bmp');
    f = imshow(x,map);
    r = 1;
    col = 350;
    while x(r,col) == 7;
        x(r,col-2:col+2) = 4;
        imshow(x,map);
%        pause(.1);
        r = r+1; 
    end
    
