import infocom version of DC algorithm.