add word search using DFS