Heuristic path finder