function v = cv_in_list(r,c,list)
%
v = 0;
[len,dummy] = size(list);
if len<1
   return
end

for index = 1:len
   if (list(index,1) == r) & (list(index,2)==c)
      v = 1;
   end
end
