Reprint dead ends when finished

Anything that is not the current path when the end is found should be
marked as a dead end.