Created binary heap for A* algorithm.