function inter = biggestInterval(A)
% inter is the biggest Interval (by width) in A, an array of Intervals

inter= A(1); % biggest Interval so far
for k= 2:length(A)
if A(k).right - A(k).left > inter.right - inter.left
inter= A(k);
end
end