Merge pull request #16 from levinkov/master

updating DFS and BFS