adding binaryheap to prepare for pathfinding algorithm