結果 : recursive best first search python code