KanoT Introduction to the A* Algorithm https://www.redblobgames.com/pathfinding/a-star/introduction.html