I wish to use the A* pathfinding algorithm on grids where each cell can have the values -1(wall), 1,2,3 or 4. A higher number indicates a higher cost to reach the cell, and -1 i