refactor project
BFS basic implementation