a_star :: AStarPath :: at_end_of_path
# Are we at the end of this path? fun at_end_of_path: Bool do return at >= nodes.length