Function heuristic

Source
pub fn heuristic(first: &Node, second: &Node) -> i64