N-Pointer as Frontier Search

N-pointer problems are frontier search in disguise. Refactoring reveals explicable properties that enable better testing and code reuse.