package two type move struct { node node cost int path []node } func newMove(n node, cost int, path []node) move { return move{n, cost, path} }