Added in A* search. Note: it is non-functional.