Changed AStar return.
Deleted Unused methods.