fixed minor bug, swapped in UpdatablePriorityQueue, made reconstructing move path more efficient