fix bug: weighted graph add-edge did not add weight
implement johnson allpair shortestpaths (untested)