Fixed issue #80.
Merge pull request #81 from quietshu/master

Fixed issue #80.
Make the linter happy
Add Prim's MST algorithm
Include Prim's algorithm in main.js
Stop early in Bellman-Ford

This also eliminates the need for a separate extra iteration.
Merge pull request #84 from eush77/bellman-ford-early-stop

Stop early in Bellman-Ford
Merge pull request #82 from eush77/prim

Add Prim's MST algorithm
Remove function declaration from loop