the output file should look something like:

DISTANCE CBAE = CBAE12
DISTANCE DEABD = DEABD21
SHORTEST CA = CBA8
POSSIBLE CA = CBA8 CBDA11 CBADA12 CEA12 CBDADA15 CBEA15