[Fix] if unvisit_edge list is empty, just continue
Merge pull request #6 from Hyiiego/master

[Fix] if unvisit_edge list is empty, just continue