Minor testing changes. Code is good. BFS and IDS too time complex.