updated py file
bug reproduced
Fixed mark_component_nr into BFS.