An implementation of the A* pathfinding program in a 2D matrix.