function Z = atstumas(x0, x, y0, y)
Z= sqrt((x-x0)^2+(y-y0)^2);