fixed bfs algorithm
Merge branch 'master' of github.com:jasonq/comp4903