Added some comments for astar