def distance_between(agents_row_a, agents_row_b):
    """ determine distance between two agents """
    dy=agents_row_b.y-agents_row_a.y
    dx=agents_row_b.x-agents_row_a.x
    return((dx**2+dy**2)**0.5)