Rewrote Explorer so that it relies on Dijkstra's algorithm to get to the
end of each row.