BFS working and Windows modified