add relationship_xy.py to generate a rectangle like relationship