moved ex_loopdiagram.py out from ./old_files