結果 : implement heuristic search algorithm in python