Changed use of Tuple<int, int> to Point in pathfinding.