added comments for BFS and Djiksta