add BFS and change color of path