A* uses heapq instead of repeatedly sorting
Scrolling_map keeps track of multiple layers