Added BFS i DFS