I\'m trying to create an A star algorithm in c++. However, the target node is never found. I know that the function is incomplete because the path is never updated but t