Updated A* and Node for changes related to adding a priority queue.