get_adjacent speedups. return if we've reached the end of a dictionary branch.

culled unnecessary code.