Implementation of a distance-vector routing algorithm in Go