add documentation on astar