simple dfs on boggle graph