method a(m n) if m=0 then return n-(-1); else if (0