function G = Green(x,y)
%Green's function needed for Q = A^(-1) case
if x>y 
    G = y.*(1-x);
else
    G = x.*(1-y);
end