algo4: comprehensive: Min distance between two words in text
algo4: comprehensive: Min distance between any two words in text