BFS and DFS added
added and modified on 19th may afternoon