Update astar.h

astar updated, need to fix for structure