home work one for USC AI course. DFS BFS and so on ...