I need to implement some AI problems (eg missionaries and cannibals, jar problem, maze problem) in python, then implement the BFS, DFS and A* algorithms in python, in different files, and the search algorithms must be able to solve all the problems without any code changing..