Go directed, weighted (and sub-optimal, but working) graph implementation