add related vertices
Merge branch 'master' of https://github.com/kalasoo/GraphSemiring