add sample edge weight function
Merge branch 'master' of https://github.com/SeanTater/bridges