crawling strategy changed from dfs to bfs, search implemented for documents