Closest pair - python edition