function Y  = Zorro(X )

if (X==0) then Y=X;
elseif (X==8) then Y=X;
    else 
        U=rand(1);
        if (U<0.4) then Y=X+1; 
            else Y=X-1;
        end
end


endfunction
