made the heuristics better by remembering to count way to home when no dirt