Added assoc.py to replace assoc.pro function