distance between (0,0) and (1,1)