Uses A* search and semi-iterative deepening.