added heuristic astar 1