function [  ] = SimpleFloodFill( XX, YY)
%UNTITLED4 Summary of this function goes here
%   Detailed explanation goes here

global M
global Filler

if M(XX,YY)==0
      
    M(XX,YY)=Filler;
   
     SimpleFloodFill( XX , YY+1 );
     SimpleFloodFill( XX+1 , YY );
     SimpleFloodFill( XX-1 , YY );
     SimpleFloodFill( XX , YY-1 );



end

