Towards Learning Foundation Models for Heuristic Functions to Solve Pathfinding Problems