improved suboptimal and fixed AStarSearch
fixed multiple a* and multpile dfs