astar.c:
  Fix memory leak when path is impossible.
  Added debug message to show when path is impossible
  Comment changes