結果 : implement a * search algorithm in python