Added docstrings for astar.py.