Removed unused import from all_pairs.py