Modified getNeighboringCells in the PathCalculator to deal with the new
Dijkstra algorithm.